<?php

	#doc
	#	classname:	main_firm
	#	scope:		PUBLIC
	#
	#/doc
	
	class main_firm extends CActiveRecord
	{
		#	internal variables

		#	Constructor
		public static function model($className=__CLASS__)
		{
			return parent::model($className);
		}
		
		public function recently ($limit,$sdvig)	
		{
			$this->getDbCriteria()->mergeWith(array(
				
				'limit'=>$limit,
				'offset'=>$sdvig


			));
		return $this;

		}

		public function tableName()
		{
			return 'main_firm';
		}
	
	}
	###

?>